package com.tedu.emp.mapper;

import com.tedu.emp.pojo.dto.EmpQuery;
import com.tedu.emp.pojo.entity.Emp;
import com.tedu.emp.pojo.vo.EmpVO;
import org.mapstruct.Mapper;
import org.mybatis.spring.annotation.MapperScan;

import java.util.List;

public interface EmpMapper {
    void insert(Emp emp);

     void update(Emp emp);

    List<EmpVO> selectUser(EmpQuery empQuery);

    void resetPassword(Emp emp);

    void deleteById(Integer id);

}
